package org.tech4j.edi.alarm.api.config;

/**
 * @program: tech4j
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/10 10:28
 **/
public class AlarmConfig {

    /**
     * 告警类型
     */
    private String type = "retryError";
    /**
     * 推送地址
     */
    private String webhook;

    /**
     * 推送最大次数
     */
    private Integer pushMaxCount;

    /**
     * 推送密钥
     */
    private String secret;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getWebhook() {
        return webhook;
    }

    public void setWebhook(String webhook) {
        this.webhook = webhook;
    }

    public Integer getPushMaxCount() {
        return pushMaxCount;
    }

    public void setPushMaxCount(Integer pushMaxCount) {
        this.pushMaxCount = pushMaxCount;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }
}
